@extends('admin/layout')
@section('title','交易管理')
@section('content')
<!-- Content Header (Page header) -->
<section class="content-header">
  <h1>
    送货地区
    <small>送货地区</small>
  </h1>
  <ol class="breadcrumb">
  	<li><a href="{{asset('admin/index')}}"><i class="fa fa-th"></i>送货地区</a></li>
    <li><i class="fa fa-users"></i>送货地区</li>
    <li><a href="{{asset('admin/member')}}"><i class="fa fa-user"></i>送货地区</a></li>
    <li class="active">送货地区</li>
  </ol>
</section>

<!-- Main content -->
<section class="content">
	

	<div class="row">
		<div class="col-md-12">
	  	  <!-- box start -->
          <div class="box box-info">
           @if(session('error'))
            <div class="alert alert-danger">
                {{session('error')}}
            </div>
          @endif
	        <div class="box-header with-border">
	          <h3 class="box-title"><i class="fa fa-user-plus"> 送货地区</i></h3>
	        </div>
	        <div class="row">
	          <div class="row">
	          <div class="box-body"> 
	          </div>
	        </div>
            <!-- form start -->
            <form class="form-horizontal" action="{{asset('admin/region/regionupdate')}}" method="post" enctype="multipart/form-data">
              {{csrf_field()}}
              	<input type="hidden" name="region_id" value="{{$data->region_id}}">
				<div class="form-group" style="display:disabled">
                  <label for="inputname" class="col-sm-2 col-md-2 control-label">所在地区</label>
                  <div class="col-sm-6 col-md-5">
                    <input type="text" disabled class="form-control" value="{{$data -> region_name}}" id="inputname" placeholder="">
                  </div>
                  <span class="help-block col-sm-4 col-md-5">
                  </span>
                </div>

                <div class="form-group">
                  <label for="inputname" class="col-sm-2 col-md-2 control-label">运费管理</label>
                  <div class="col-sm-6 col-md-5">
                    <input type="text" class="form-control" name="freight" value="{{$data -> freight}}" id="inputname" placeholder="请输入所需运费">
                  </div>
                  <span class="help-block col-sm-4 col-md-5">
                  </span>
                </div>
              
              <div class="box-footer">
                <button class="btn btn-default col-sm-2 col-sm-offset-2 col-md-2 col-md-offset-2">清空</button>
                <button class="btn btn-info col-xs-offset-1 col-sm-2 col-sm-offset-1 col-md-2 col-md-offset-1">提交</button>
              </div>					
            </form>
            <!-- /.form -->
          </div>
          <!-- /.box -->
	    </div>
    </div>
</section>
<!-- /.content -->
@stop